package com.zxq.ai;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(
		scanBasePackages = {"com.zxq.ai", "com.zxq.common.middleware"}
)
@EnableTransactionManagement
@EnableScheduling
@Slf4j
public class ApplicationLoader {

	public static void main(String[] args) {
		log.info("___________________________________________________________________________");
		log.info("|                  Marketing Application starting !!!!!!!!!!!!!              |");
		log.info("￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣");

		SpringApplication.run(ApplicationLoader.class, args);

		log.info("___________________________________________________________________________");
		log.info("|                  Marketing Application start Success !!!!!!!!!!!!!         |");
		log.info("￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣");
	}

}
